package com.cheer.vo;

import com.cheer.dto.MallAttrDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author cheer
 */
@Data
@Accessors(chain = true)
@ApiModel
public class MallProductInfoVO {

    private Long id;

    private Integer type;

    @NotNull(message = "兑换类型不能为空")
    @ApiModelProperty("兑换类型 1 积分  2 小红花")
    private Integer exchangeType;

    private String mainTitle;

    private String shortTitle;

    private ImageVO thumbnailUrl;

    private Long shopId;

    private List<Long> categoryIdList;

    private Integer stock;

    private Boolean allowRefund;

    private Boolean limited;

    private Boolean postage;

    private String postagePrice;

    private Integer virType;

    private String method;

    private ImageVO virImage;

    private List<MallAttrDTO> attr;

    private List<ImageVO> displayImageUrl;

    private String keywords;

    private String desc;

    private List<ImageVO> descImageUrl;

}
